﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using CH.Reia.Infrastructure.Entity;

namespace CH.Reia.Entity
{
    [Serializable]
    [DataContract]
    public class Link : IEntity
    {
        #region IEntity Members

        [DataMember]
        [JsonIgnore]
        public string Domain { get; set; }

        [DataMember]
        [JsonIgnore]
        public int LazyLoading { get; set; }

        [DataMember]
        [JsonIgnore]
        public int RecordCount { get; set; }

        [DataMember]
        [JsonIgnore]
        public int RecordStart { get; set; }

        [DataMember]
        [JsonIgnore]
        public int RecordLimit { get; set; }

        #endregion

        [DataMember]
        public String LinkId { get; set; }

        [DataMember]
        public String Url { get; set; }

        [DataMember]
        public String Title { get; set; }

        [DataMember]
        public String Note { get; set; }

        [DataMember]
        public Boolean? IsPrivate { get; set; }

        [DataMember]
        public DateTime CreateAt { get; set; }
    }
}
